package com.example.homelicaisystem.services;

import com.example.homelicaisystem.entity.*;
import com.example.homelicaisystem.entity.DTO.ExpendDetailDTO;
import com.github.pagehelper.Page;

import java.util.List;

public interface ExpendDetailService {
    Page<ExpendDetail> getList(ExpendDetailDTO data);

    void delete(int id);

    void modify(ExpendDetail data);

    ExpendDetail create(ExpendDetail data);

    List<SelectResult> selectExpendType();

    List<SelectResult> selectExpendMode();

    ExpendDetail getExpendDetailById(Integer id);
}

